package com.core.Temperatura;

public class Kelvin extends TemperaturaBase {
	 
	 public Kelvin(double valueToBeConverted)
     {
         this.valueToBeConverted = valueToBeConverted;
     }

	 @Override
     public double ToCelcius()
     {
         return this.valueToBeConverted-273.15;
     }

     @Override
     public double ToFahrenheit()
     {
         return ((this.valueToBeConverted-273.15)*9/5)+32;
     }       

}
